<html><head></head><body>
<script type="text/javascript" src="../javascript/jquery-1-7-1-min.js"></script>
  <script type="text/javascript" src="../javascript/jquery-ui-1.8.18.custom.min.js"></script>
  <%
           String username = request.getParameter("username");
		   String redirectURL = "http://localhost:8080/warboat/index.jsp";
           out.println("Checking login<br>");
            if (username == "") {
            	response.sendRedirect(redirectURL);
            }

           else {
               session.setAttribute("username", username);
               response.sendRedirect(redirectURL);
           }
%> 

</body></html>
